return data to vars fix