fixing pub serve warnings