debug local file name too long
refactorying