add flag to enable remote bug