safety checkin and cleanup