Fixes for setting a param in the database