Adjust GC to check for valid buffer earlier