fix bugs

the sheet does not hide after entering the same thing