fixed enum namespace due to new rustc version