fix trap