fixed some formate bug