uniformize some path format