fixed bug with following