sync command texts and adjust page amination