mix error alert and bug on mixing with refresh