fixed 'z' rest for playtune function