case0 remove tmp variable