Link to any Buddypress Member's Profile page not working


When logged in as a user, The link to members profile pages do not work, it does not take you to their profile page, instead it sends you back to the home page.

The links works fine when logged in as admin. I have custom structure permalinks using pretty, after refreshing the permalinks still the same issue. Need some help on this one.