Fixing obvious errors