minor fix on slider