Fixed major bug.