fixes bug with viewing other profiles