fix to get type
fix runtime insturciotn comparison variables.