better fix for gralloc