Fixed the drifay error in the new code for Glada