Fixed some errors in file