modified source dir to base dir.