fixed event problem with ajax-loaded modules