bug fixed at light tracing