fix bug in Format Block where extra comma got inserted in import body