fixed mistake in permissions