fixed an error in gragas