more robust as.ses