make database flags readable