more descriptive error if gm not found