fix object diagram and position of nodes