Fixed mistakes in source files