account for weird params struct