lock-file: another try to fix lock-file issue