bugfixes in postgre install