fixed a null-pointer error