fixed a bug in program (relative URL)