quickfixed the errors on removal