prevent runtime exception during ease login