Added side check for empty vars.