Fix background hash param logic