fixed missing ;
removed default sorting
updated material data becomes blank on edit