fix printing declare datatypes