tweak to check_status()