Fixed some simple errors