Loiter mode

Hi, a have a quad that flies fine in stabilize, but when i switch to althold/loiter it immidiately flies up with great accelation.Do you kwon what happennig?

NAV_MIN_LTR_ALT check this parameter, may be your current alt less than this and it goes to this altitude.