fixed issues with title not displaying