fixed backup routine
final fix of backup routine?