update 20140715
update type cast