bug fix on rfb