handle post custom attributes

ref #9