bug fixes, better get absolute url