Fix type in check_status