Fixed issue where interfaces are not being creating properly