Fix database not storing addresses