Fixed bug with omega as one of the domain parameters in 2d mode