fixed funny format bug