fix sourceFile controller method bug