finish nested import