fixed internal usage of swnentries