fix permissions.