fix bug of ->show()