fix slider at startup