solved dispatcher problem