release page lock only if the module is available