edit wrong type