critical fix in the .once wrapper