add class prefix for each field