Fixed some bugs in models, public events