remove line that causes NullPointerException