Fixed editor issue and modified matt.js with check task data