bug fixed inputs id