Fix for wrong reassign of variable prefix