fixed bug  #1536, schedule is added even if file is not choosen