Fixed the onetoone relation