fixed ex dimension
TODO comment
changed ids