add fallback for possible missing AMD