fix three args open call