fixed bug [#1]