fix strict mode; document ref; #1