fixed Navigation bar warning