fixed where functions argument type