resolved uncaughtException error