fix stackoveflow bug