Fix trade creation error