fixed memory leak in task queue
fixed mat3 mXX members