model name and package find null pointer fixed