fixed some errors in files