fix bug on get method