fixes TypeError, caused by get_absolute_url