remove hide and show method