fixing css hidden bug