fixed bug in AppMan