fixed bug in visiting other user's profiles