add rescue if db is not available
shenanegans
even more horrible
even more more horrible
even more more more horrible
even more more more more horrible
fix for issue 78