[bugfix] Fix crash in basic::subs().