fix formatting for object