fixed the up and down