correcting placement calculations