fix absolute url reverse bug in for building