remove unnecessary package
add file lock