move command before length, length is body length now