make the lock file work