Fix collapse error