fixed public_dir