fixing datatypes for adobe cf compatibility