Fix body cast error