Fixes bug in lvl6 wrapper