sanity check before restructring directories