some fix for sec 6