Fixed some bugs in portables and up button