Role Permission DocType not found

Hi I have a problem with Role Permissions Manager. The Doctype is already deleted but when I accessing the custom role that I created in Role Permissions Manager it says "Role Permission Doctype “name of doctype” not found? Has anyone encountered this error before?