Avoid creating several instances of Magma.
Fixed small bug.