Form can not be seen and displaying restore mode error