correct morrisjs error