fixed bug520