replaced \r with \n in derived class files