Fixes bug in sandbox