test for lock file
remove useless method