fixing "opens" param not working