debugging profile error2