fix small issue with mutationobserver