fix for situation there we can't find port inside conf files