fixed regression in default return value of mode()