Fix inputbox issue