null pointer fixed in foldeview