change FLAT_INTERFACE to INTERNAL_INTERFACE