fix opts pollusion bug