fix parent changing stuff