fixed error messages and win screen