input fix for ui, others