fix for invisibility of element