fixed bug no.1