fixed init value and vtype issues!