Flat brownies can result from overmixing the batter or not using enough leavening agent. Ensure you follow the box instructions to the letter, and try not to overbeat the mixture.