remove unneeded interfaces