quickfix for sqrt