Fixed bug in sage listing