slider error fixed