fixing up the dos rule