Fixed enter key bug