Fixing stupid errors