more changes on form hidding