Fixed create_omega bug.