11/13/2014 Jack fixed a bug: event nullexception