filechoosers control added
fixed bug with substring indexes while copying resources