db transactions but import not working