small improvements on positioning