fixed potential NPE when EyeApplication init fails