updated code format error