fixing ip and indexes in transformations
the double-sending is fixed with a delay, OJO!