correction null pointer exception