fixed some bugs
disabled messages API temporarily