fix for has navigation bar