fix pyflake errors
fix database name with undescore