fixed a bug in make proper format