fixed bug31