complete the level parser.

FYI.
fix bug in path.

FYI.