fix errors on importing columns + indexes