fix log2