quickfixfor null pointer exception