Correction to: Nature Communications https://doi.org/10.1038/s41467-018-05151-2, published online 20 July 2018.

The original version of this Article omitted from the author list the third author Alexander Kazakov who is from the ‘Edmond and Lily Safra Center for Brain Sciences, The Hebrew University of Jerusalem, Israel’. The following was added to the Author contributions: ‘A.K. established the freely-behaving worm tracking system’. This has been corrected in both the PDF and HTML versions of the Article.