sqrt root bugfix