fix duplicated getValue