Fixed call to reshape to call to cast
Major updates to IDEA in anticipation of switching servers.