fixed bug with onback to prepare screen.