fix global var
fix rbox