fixed Profile and EditProfile.db working