Improve type of log