bugfix with slider