fix config params in database template