Inserting feature buffer, getting error