fixed #340
format changed #340