Bug fix with defining a port in yaml