minor fix for numerics