fixed ref to db_port variable