a hack to overcome the navigation bar issue.