Fixed some basic errors.