fixing stupid errors