fixed error "attempting to assign weaker access privileges"