correct werid forrmating errors