fixed a bug where not all db was updated and screwed up profile page