fix permissions/names