fix bug #287
Merge pull request #304 from hellsingblack/master

fix bug #287