fix up type of args to hash