Fix URL generation bug: require - after pk