Stabilize mode working reversed

i have an extrange problem with apm 2.6 installed on a plane, manual mode is working perfect but in stabilize work inversed. It dosn’t correct the position, increment de position.
help more towards the side instead of correcting rotation