fixed a bug where you get an error if you open your own profile