fixed bug in goto command