small tweaks to ret stmts