Fixed all kinds of errors uncaught by the compiler before.