fixed Enter key behavior (lose focus, update unallocated)