correct a bug on buffer and add some light for test multilight
progress on deffered implem