added a few errors