fix bug of attach