resolved sage pointer bugs