Removing wrong entries