fix duplicate exception