fixed a bug in level.js