remove dangling method interface