Fith Attempt on fixing NullPointerException