fix issue 362, added method value to slider
fix issue 362, added method value to slider