solve problems with jquery-ui