The problem is, once you sign a contract, the contract you signed supercedes any prior negotiations, discussions, or offers. If you signed a contract without any duration in it, then the contract has no set duration and the length of your employment is at the will of the employer. You can't claim to have not understood that, because the law presumes that people read, understand, and agree to anything they sign, so you are employed under a contract with no set duration.