corrected check if formula is valid, there can by only one STEP parameter, parameters which are not used are not stored in DB