add support to change ... to ../..