Fixed "Not a buffer" error