added afterConvertFields hook