Fixing bug 1225

--HG--
extra : source : 7f0310c15aafbaae56932a5783f24f5a89d97c4d