fixed challenge is_active code