Fix return type of scale()
Fix ambiguity warning