fixed bug on variable types where it read from comments