Deleted errors, and fixed bug