fix double execution