fixed double event triggering if selector is id #317