fix pramtype in blocks