fix the dot function

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>