fix to ensure existing format parameter does not get replaced