fixed compile error caused by laziness