bugfix

minor bugs