Check for format option before assigning