fix gandalf