A hacky fix for pushing constants into the union - need to revise to code though