fix wrong get method