Fixing temperature casting.