Fixed a bug with define word