debugging profile error