another attempt at fixing the missing hash problem