misplaced setinput after layout fix