fixed env,database format