fixed field mapping length bug