fixed bug in help function