solve null pointer exception bug