fixed bug in _hide_block