Fixed formatting issues in output