fix issue 362, added method value to slider