corrected import statements in legacy folder