fix PBjAi and hide cursor