Fixes block access permissions