Fixed dumb bugs.