fix propose by M. Buffa

http://classroom.w3devcampus.com/mod/forum/discuss.php?d=1395