Fixed easy bugs.