cleared some errors