prevent nil object
fix bug