priority null pointer fixed