fix error in saveQualifying
re organisation