Removed NullPointerException cause