fix deploy events