init map before use