killed a null pointer exception