fixed bug in get_absolute_url method