sorted out up button problems