fixes undetermined mock lock path fatal error