set opacity when open. #19