fix permission
add upload directory.