fix bug in userbox of simple env