added check event before post