fixed input field bug (no text displayed)