accomodating dispatcher to work with YUI