more bugs fixed, navbar button now works