fixed init method not being called; fixed issues when putting message in the error queue;