Fixing bug with is_hidden