make project workable with new symfony version