Bug fix. insert works now