made sure params are strings