remove buffer from drawText params