transform to prefix