fix incorrect logtype