fixed issue of submitting events before install