added a hack to generate new location in case of RApp, solving the bug where \eps  AB yielding (\eps|\eps,A | \eps,B)