fixed button

Fixed button causing the crash. of course a mess but done