fixed bug which could cause saving tapes with a wrong level number filename