simulation typecast error fix
Merge remote-tracking branch 'origin/master'