thx. found this solution by myself. i keep the last value in the var