Assign weakself to a strong pointer to fix #475