avoid double inserts

hack!