fix for loki