Px4 flaring phase nose up problem

I would like to smooth landing in gazebo simulator. I set some values for that, these are;

FW_LND_ANG = 2.5 degree
FW_LND_FLALT = 4 m
FW_LND_FL_TIME = 1.0 s
FW_LND_FL_PMIN = 5 degree
FW_LND_FL_SINK = 0.15 m/s

But fw aircraft sometimes nose up when flaring phase come some times not what does it effect this nose up motion?