added removal of not allowed items