Fixed out_buffer error