minor style adjustment
slightly better implementation on d3 dispatcher