fix bug and add grunt