fixed a small straight bug