fix URL generator for line graphics