Removed duplicated open.