my ray is getting automatically switched off any solutions