fixed an issue in thread_last_activity_user_avatar macro