Fixed bug submitting empty words