fixing pivot objects