fix issue status detection