Fixed a wrong code snippet