Fixed bug with paramneter injection with default value