Fixing issue with visible class;