before action chech parent first