changed href generation