Revenue at the nation’s third largest pharmacy chain dipped to $6.23 billion, down 0.6% from 2011. But that narrowly beat analysts, who expected revenue of $6.21 billion.

Shares of Rite Aid fell more than 2% in Thursday morning trading.

Company officials noted that Rite Aid had trimmed total expenses by 1.5% compared to 2011. Gross margin increased from 26.3% last year, to 27.5%.

The chain lowered its projected loss for the year from earlier estimates of between 13 cents and 29 cents a share, to between 9 cents and 23 cents a share. However, it also trimmed its revenue projection from an earlier forecast of between $25.3 billion to $25.7 billion, to between $25.1 billion to $25.4 billion.

Rite Aid has struggled to compete with rivals Walgreen (NYSE:WAG) and CVS (NYSE:CVS).