ai fix on top level