Fixed a bug in goto definition