bugfix in bestplane