Fix error message handling for slider