adjust log position