How Remove access to certain modules in ERPNext

I have setup the Role and Permission in ERPNext, but some modules are still visible to users not having access to them, though they cannot modify them but its visible.

I have also set the “Access Modules” still they are visible. For Example:
Accounts – Not Required
Contacts – Not Required
Human Resources
Learn – Not Required

This should help out.

I tried this out. Unchecked the “Accounts” Module from “Show / Hide Modules” for some selected user, after this the desktop icon for “Accounts” is disappeared but user still sees it.

Options inside are not accessible but still its visible.