fixed hidden status detection