fix generate method compatibility with SensioGenerator