fixing an annoying double line issue