fixed the bit with "prefix" and also small bug
corrected important bug for relevant links