Set right folder for dependencies.
Fix the post array usage.