Fix the using of ~ symbol