fix null pointer error
fix null pointer error
fix null pointer error