fix of enter of the palette input box