bug in filename fixed