fix dependency for gm