fixed bugs
 check style
delete console debug lines
Merge pull request #354 from easy-es/agenda

fixed bugs