Fourth attempt on fixing NullPointerException