base on jpaw-util