added try except to app start