fix remove props crash