better error for remove