fix js error on task creation
fix mailers