Fixing a bug in the static path and moving bootstrap to parser constructor