Trex 450 Erratic take-off

I have a Trex 450 which has had 2 different Matek flight controllers. I am having issues with the take off in stabilize mode being quite erratic. The last flight the copter jumped off the ground and was very hard to hold at a steady altitude for a few seconds then settled down into a nice hover. Some other take-off’s the copter would start to lean over then jump into the air and be quite exciting for a few seconds.

On the last flight when it jumped into I did a few more take-off’s and landing with no issues.

Enclosed is the log file from the last flight.

https://www.dropbox.com/s/ebvhdlytr1pgo4c/9%2024-01-2021%2015-29-14.bin?dl=0