fixed code, directories, and directiosns