pre compute fix

blah blah blah this is a good fix so merge it