fixed vertical text placement bug