fixed bug of #52