fixed stupid little bug with slider