Fix ">>" and "<<" problems