material bug fixed