extra check for nil handle