value now remains if correct and is not displayed for a wrong entry