Removing unnecessary notes