fix nil user parent bug