Fix #123 bug interfaces