fixed #3829. change namespace gui to ui

rg