fixed bug in manual example