made param converter compatible with newer symfony version