fix loki when already rooted