fixed bug that prevented postgresql from initializing properly