hardcoded rights and name and fixed issues