0.1.5.3:hide: rewrite function for hiding regions