fix dist on right place