restricted max length of db name in navbar