pile behaviour fix