Fixed some small mistakes