improved position of corruption flag