fix postgres path and ssl