Fix hash params for 1.8 compatible