fixing format error