fix warnings in log10 and interpol