bugfix/fix some interface functions