correctly read empty vars