fix dispatch map