fixed remote bug