got app to launch with error check