Improve log position