avoid void-variable error