Please help correct the rotation error

You mean where is this function called?