Mig 23 ml radar not functioning properly

i need to spam the “Lock radar/IRST on target” for it to lock on something, and most times it doesn’t at all. im having to use the vertical scan if i want to lock onto a plane.