fixed database settings to postgresql